<html>
    <head>
        <meta http-equiv="Content-Type" charset="GB2312"/>

        <script type="text/javascript">
            function javacalljs(){
                 document.getElementById("showmsg").innerHTML = "JAVA调用了JS的无参函数";
            }

            function javacalljswith(arg){
                 document.getElementById("showmsg").innerHTML = (arg);
            }

        </script>

    </head>

    <body>
        <h3>Web模块</h3>

        <h3 id="showmsg">show js</h3>

        <input type="button" value="JsUseJava" onclick="window.android.safePayPopWindow('javacalljs')"/>

        <input type="button" value="JsuseJavaWithArgs" onclick="window.android.safePayPopWindow2('come from js')"/>
    </body>
</html>